import java.util.ArrayList;
import java.util.List;

/**
 * 行数据
 */
public class RowBean {

    private List<CellBean> cellBeanList;

    public List<CellBean> getCellBeanList() {
        if (cellBeanList == null) {
            cellBeanList = new ArrayList<>();
        }
        return cellBeanList;
    }

    public void setCellBeanList(List<CellBean> cellBeanList) {
        this.cellBeanList = cellBeanList;
    }

    @Override
    public String toString() {
        return "RowBean{" +
                "cellBeanList=" + cellBeanList +
                '}';
    }

    /**
     * 列数据
     */
    public static class CellBean {
        private String cellName;
        private Object cellValue;

        public String getCellName() {
            return cellName;
        }

        public void setCellName(String cellName) {
            this.cellName = cellName;
        }

        public Object getCellValue() {
            return cellValue;
        }

        public void setCellValue(Object cellValue) {
            this.cellValue = cellValue;
        }

        @Override
        public String toString() {
            return "CellBean{" +
                    "cellName='" + cellName + '\'' +
                    ", cellValue=" + cellValue +
                    '}';
        }
    }
}
